<script>
export default {
  onLaunch: async function () {
    uni.$set = this.$set;
    // 获取当前城市
    await this.$store.dispatch("address/getCurrentCity");
    // 用户设置默认地址
    await this.$store.dispatch("address/getCurrentLocationData", {
      creatorUserId: this.$storage.get("UserInfo").id,
    });
    // 订单状态列表
    await this.$store.dispatch("dictionary/getOrderStatusList");
  },
};
</script>

<style lang="scss">
/*每个页面公共css */
@import "uview-ui/index.scss";
@import "@/common/css/project.scss";
@import "@/common/css/index.scss";
@import "@/common/css/icon.scss";
//#ifndef H5
@import "@/common/css/h5-tag.scss";
//#endif
</style>
